[INFO] cloning repository https://github.com/grajnikanth/rust_book_exs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grajnikanth/rust_book_exs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrajnikanth%2Frust_book_exs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrajnikanth%2Frust_book_exs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a21fa10a147af0898615d7706e29a64e9691149c
[INFO] checking grajnikanth/rust_book_exs against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrajnikanth%2Frust_book_exs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/grajnikanth/rust_book_exs on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/grajnikanth/rust_book_exs
[INFO] finished tweaking git repo https://github.com/grajnikanth/rust_book_exs
[INFO] tweaked toml for git repo https://github.com/grajnikanth/rust_book_exs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/grajnikanth/rust_book_exs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7a4dcc7b0f945a3b05578283c3f572c5e022e178113485fae97be896e6dbc34
[INFO] running `Command { std: "docker" "start" "-a" "e7a4dcc7b0f945a3b05578283c3f572c5e022e178113485fae97be896e6dbc34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7a4dcc7b0f945a3b05578283c3f572c5e022e178113485fae97be896e6dbc34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7a4dcc7b0f945a3b05578283c3f572c5e022e178113485fae97be896e6dbc34", kill_on_drop: false }`
[INFO] [stdout] e7a4dcc7b0f945a3b05578283c3f572c5e022e178113485fae97be896e6dbc34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc23864e1734e6dd670ed58d96120652106510d5e387104eb6cd4993f7df5764
[INFO] running `Command { std: "docker" "start" "-a" "fc23864e1734e6dd670ed58d96120652106510d5e387104eb6cd4993f7df5764", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_book_exs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/lib.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct Pair<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/lib.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct Pair<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `compare_display` is never used
[INFO] [stdout]   --> src/lib.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn compare_display(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `compare_display` is never used
[INFO] [stdout]   --> src/lib.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn compare_display(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ref6`
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let mut ref6 = model_3000.on_sale.get();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_ref6`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ref3`
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut ref3 = model_3000_no_cell.on_sale; // makes a copy 
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_ref3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut ref1 = model_3000.on_sale.get(); //makes a copy of the bool
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut ref2 = model_3000.on_sale.get();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let mut ref5 = model_3000.on_sale.get(); 
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let mut ref6 = model_3000.on_sale.get();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut ref3 = model_3000_no_cell.on_sale; // makes a copy 
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut ref4 = model_3000_no_cell.on_sale;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `company_name`, `model_name`, `screen_size`, `memory`, and `date_issued` are never read
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct PhoneModel {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 9  |     company_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     model_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     screen_size: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     memory: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |     date_issued: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PhoneModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `company_name`, `model_name`, `screen_size`, `memory`, and `date_issued` are never read
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct PhoneModelNoCell {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 21 |     company_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 22 |     model_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 23 |     screen_size: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 24 |     memory: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 25 |     date_issued: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PhoneModelNoCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `inner_struct` are never read
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct Outer {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 33 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 34 |     inner_struct: Inner,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Outer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `id` are never read
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Inner {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 39 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 40 |     id: u32
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Alabama` is never constructed
[INFO] [stdout]  --> src/bin/11_match_ex3.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum UsState {
[INFO] [stdout]   |      ------- variant in this enum
[INFO] [stdout] 8 |     Alabama,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `username` are never read
[INFO] [stdout]  --> src/bin/83_refcell_ex1.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 5 |     id: u32,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 6 |     username: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed
[INFO] [stdout]   --> src/bin/11_match_ex3.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Coin {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 14 |     Penny,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     Nickel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     Dime, 
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/bin/47_errors_6.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let f = File::open("hello.txt").expect("Failed to open hello.txt");
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/22_struct_tuples_ex1.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Point(x,y,z) = origin;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/bin/22_struct_tuples_ex1.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Point(x,y,z) = origin;
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/25_vectors_3.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut v = vec![1, 2, 3, 4, 5];
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/82_int_trait_mut_cell.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Book {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 18 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Book` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `return_number` has an incompatible type for trait
[INFO] [stdout]   --> src/bin/81_int_mutable_usecase.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn return_number(&mut self) -> u32 {
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      types differ in mutability
[INFO] [stdout]    |                      help: change the self-receiver type to match the trait: `self: &Book`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/bin/81_int_mutable_usecase.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn return_number(&self) -> u32;
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout]    = note: expected signature `fn(&Book) -> _`
[INFO] [stdout]               found signature `fn(&mut Book) -> _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_book_exs` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: crate `84_refCell_RefMut` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `84_ref_cell_ref_mut`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/58_generics_3.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let wont_work = Point {x: 3, y: 4.0};
[INFO] [stdout]    |                                     ^^^ expected integer, found floating-point number
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_book_exs` due to 2 previous errors
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]  --> src/bin/21_struct_methods_ex2.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Rectangle {
[INFO] [stdout]   |        --------- fields in this struct
[INFO] [stdout] 7 |     width: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     height: u32
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ref6`
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let mut ref6 = model_3000.on_sale.get();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_ref6`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ref3`
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut ref3 = model_3000_no_cell.on_sale; // makes a copy 
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_ref3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut ref1 = model_3000.on_sale.get(); //makes a copy of the bool
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut ref2 = model_3000.on_sale.get();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let mut ref5 = model_3000.on_sale.get(); 
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let mut ref6 = model_3000.on_sale.get();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut ref3 = model_3000_no_cell.on_sale; // makes a copy 
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut ref4 = model_3000_no_cell.on_sale;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `company_name`, `model_name`, `screen_size`, `memory`, and `date_issued` are never read
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct PhoneModel {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 9  |     company_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     model_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     screen_size: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     memory: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |     date_issued: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PhoneModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `company_name`, `model_name`, `screen_size`, `memory`, and `date_issued` are never read
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct PhoneModelNoCell {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 21 |     company_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 22 |     model_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 23 |     screen_size: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 24 |     memory: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 25 |     date_issued: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PhoneModelNoCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `inner_struct` are never read
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct Outer {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 33 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 34 |     inner_struct: Inner,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Outer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `id` are never read
[INFO] [stdout]   --> src/bin/80_mut_w_cell.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Inner {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 39 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 40 |     id: u32
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `86_Box_4` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `86_box_4`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fc23864e1734e6dd670ed58d96120652106510d5e387104eb6cd4993f7df5764", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc23864e1734e6dd670ed58d96120652106510d5e387104eb6cd4993f7df5764", kill_on_drop: false }`
[INFO] [stdout] fc23864e1734e6dd670ed58d96120652106510d5e387104eb6cd4993f7df5764
